package main

import (
	"fmt"
	"runtime"
	"time"
)

// GOMAXPROCS

func a()  {

	for i:=0;i<10;i++{
		fmt.Println("A",i)
	}
}

func b()  {
	for i:=0;i<10;i++{
		fmt.Println("B",i)
	}
}
func main()  {

	runtime.GOMAXPROCS(1)
	go a()
	go b()
	time.Sleep(time.Second)
}
